package main
import "fmt"

type stu struct{
	name string
	age int
}

func main(){
	var b stu = stu{"name", 1}
	ceshi(b)
	fmt.Println("main() , b = ", b)
	
	fmt.Println("=====================================")
	
	ceshi2(&b)
	fmt.Println("main() , b = ", b)
}

func ceshi(a stu){
	a.name = "RuiGe"
	a.age = 22
	fmt.Println("ceshi(a) , a = ", a)
}

func ceshi2(c *stu){
	c.name = "瑞哥"
	c.age = 22
	fmt.Println("ceshi2(c) , c = ", *c)
}
